// common.h
// Joseph Craig, Rebecca Rush, Steven Andryzcik
// Version 6 - 12/08/2011

#ifndef COMMON_H
#define COMMON_H

#define NOT_OK 1
#define ERR_GEN_OUTOFMEMORY 100

#define MAX_LINES 23
#define PRINT_BUFFER 2048
#define TAB 8
#define TERMINAL_WIDTH 80

int get_string_strip_endline(char *buffer, int length);
int is_leap_year(long);
int numberp(char *string, int length);
int print(char *to_print, int flush);
int print_file(char *);

#endif